#include "Ray.h"

namespace RTRT
{
    Ray :: Ray(Point3D &origin, Vector3 &direction)
    {
    }

    Ray :: setOrigin(const Point3D &origin)
    {
        POINT3D_COPY( &(m_line3D.p0),&origin);
    }

    Ray :: setDirection(const Vector3 &direction)
    {
        VECTOR3D_COPY( &(m_line3D.v), &direction);
    }

    Point3D &getOrigin()
    {
        return m_line3D.p0;

    }

    Vector3 &getDirection()
    {
        return m_line3D.v;
    }




}

